runtime.p.runq (field)
32 uses
runtime (current package)
proc.go#L5632: gp := pp.runq[pp.runqtail%uint32(len(pp.runq))].ptr()
proc.go#L6560: if n > int32(len(pp.runq))/2 {
proc.go#L6561: n = int32(len(pp.runq)) / 2
proc.go#L6747: if t-h < uint32(len(pp.runq)) {
proc.go#L6748: pp.runq[t%uint32(len(pp.runq))].set(gp)
proc.go#L6762: var batch [len(pp.runq)/2 + 1]*g
proc.go#L6767: if n != uint32(len(pp.runq)/2) {
proc.go#L6771: batch[i] = pp.runq[(h+i)%uint32(len(pp.runq))].ptr()
proc.go#L6808: for !q.empty() && t-h < uint32(len(pp.runq)) {
proc.go#L6810: pp.runq[t%uint32(len(pp.runq))].set(gp)
proc.go#L6818: return (pp.runqtail + o) % uint32(len(pp.runq))
proc.go#L6822: pp.runq[off(i)], pp.runq[off(j)] = pp.runq[off(j)], pp.runq[off(i)]
proc.go#L6854: gp := pp.runq[h%uint32(len(pp.runq))].ptr()
proc.go#L6877: if qn > uint32(len(pp.runq)) { // read inconsistent h and t
proc.go#L6893: gp := pp.runq[(h+i)%uint32(len(pp.runq))].ptr()
proc.go#L6943: if n > uint32(len(pp.runq)/2) { // read inconsistent h and t
proc.go#L6947: g := pp.runq[(h+i)%uint32(len(pp.runq))]
proc.go#L6961: n := runqgrab(p2, &pp.runq, t, stealRunNextG)
proc.go#L6966: gp := pp.runq[(t+n)%uint32(len(pp.runq))].ptr()
proc.go#L6971: if t-h+n >= uint32(len(pp.runq)) {
runtime2.go#L672: runq [256]guintptr
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |